home *** CD-ROM | disk | FTP | other *** search
/ CD Ware Multimedia 1995 May / cd Ware (Juegos) Epimundo.iso / DOS / PRGMMING / VIEW_CTF.ZIP / VIEW.DOC < prev    next >
Encoding:
Text File  |  1994-07-03  |  3.8 KB  |  104 lines

  1. Readme/Help File
  2. VIEW v1.0 by Jeff Johnston
  3. Colored Text Format File Viewer
  4.  
  5.         View is a utility that allows you to make colorful help, readme,
  6. or other text-based files that are distributed in shareware/freeware 
  7. programs. Using extended characters in the standard ASCII character set,
  8. you can make your text files more readable and interesting WITHOUT having
  9. to use ANSI.SYS. With this version of View (1.0), you can change text fore-
  10. ground & background colors, pause and wait for a keypress, clear the screen,
  11. and make characters blink. 
  12.  
  13.         To create a CTF file, simply create a pure ASCII file, and add the
  14. following control characters to alter display:
  15.  
  16. ASCII   
  17. Code    Character   Action
  18. ----------------------------------------------------------------
  19. 012               - clears the screen.
  20.  
  21. 240     ≡[number] - changes text color. Use the table below to find the color
  22.                 you want. For example, blue text is ≡01.
  23.  
  24. 236     ∞[number] - changes text background color. Use the table below to 
  25.                 find the color you want. ∞01 means blue background.
  26.  
  27. 019              - pauses and waits for a keypress. Useful with   in pausing
  28.                 before clearing the sceen and showing a new one.
  29.  
  30. 233     Θ         - make text blink. NOTE: only works if you have changed the
  31.                 text color before. If this control character is reached before
  32.                 a text-color change character, your characters will not show 
  33.                 up on the screen. To blink blue characters, use: ≡01Θ
  34.  
  35.  
  36.         To create these characters, hold down ALT and press the character's 
  37. ASCII code on the number pad. Most word-processing programs and editors 
  38. accept this way of input. If you have MS-DOS 5.0+, I recommend using 
  39. EDIT.COM. 
  40.         
  41.         NOTE: All control characters and their required values WILL NOT
  42. PRINT TO THE SCREEN. If you have a CTF file that has this: 
  43.  
  44. ≡1 Hello!
  45.  
  46.         It will output like this: (In BLUE)
  47.  
  48.  Hello! 
  49.         
  50.         Be careful how you line up tabs and spaces!
  51.         
  52.         Included is a sample CTF file. Refer to it if you can't figure some- 
  53. thing out. 
  54.  
  55.         After you have made a CTF file, you can view it by typing:
  56.  
  57.         VIEW [filename]
  58.  
  59.         You must include the extension .CTF. Also, VIEW does not stop after
  60. each page. It will only stop when it reaches the pause character()
  61.  
  62.         I recommend creating a batch file for each document. For example,
  63. a README.CTF could be read using README.BAT, which contains:
  64.  
  65.         @ECHO OFF
  66.         VIEW README.CTF
  67.         
  68.         This limits confusion if someone saw README.CTF and typed:
  69.  
  70.         TYPE README.CTF
  71.  
  72.         The Turbo C++ source code to VIEW.EXE is available to anyone who
  73. donates $3.00 or more. They will receive, on a 3.5inch High Denisity disk,
  74. all my current shareware and freeware programs. VIEW is freeware, so you
  75. may distribute it with any programs you make, if you want colorful CTF files
  76. that don't require the readers to have ANSI.SYS loaded. 
  77.  
  78. Comments & Suggestions:
  79.         
  80.         Terranstar@aol.com - Internet
  81.         TerranStar         - America Online
  82.  
  83. Here is the list of colors:
  84.  
  85. Color -         # ----  Forgrnd? Backgrnd?
  86.  
  87. BLACK           00       Yes       Yes
  88. BLUE            01       Yes       Yes
  89. GREEN           02       Yes       Yes
  90. CYAN            03       Yes       Yes
  91. RED             04       Yes       Yes
  92. MAGENTA         05       Yes       Yes
  93. BROWN           06       Yes       Yes
  94. LIGHT GRAY      07       Yes       Yes
  95. DARK GRAY       08       Yes       No
  96. LIGHT BLUE      09       Yes       No
  97. LIGHT GREEN     10       Yes       No
  98. LIGHT CYAN      11       Yes       No
  99. LIGHT RED       12       Yes       No
  100. LIGHT MAGENTA   13       Yes       No
  101. YELLOW          14       Yes       No
  102. WHITE           15       Yes       No
  103.  
  104.